
//License Information
/*
    Copyright 2010 Jozsef Jantek

    This file is part of HunterTC.

    HunterTC is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    HunterTC is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with HunterTC.  If not, see <http://www.gnu.org/licenses/>.
*/

package huntertc;

public class Shot_Arcane extends Shot
{
    Shot_Arcane(Char_sheet schar)
    {
        name="Arcane Shot";
        focus=25;
        school=2;
        Calc(schar);
    }

    @Override public void Calc(Char_sheet schar)
    {
        avg_dmg=(int)(492+schar.getRAP()*0.15);
        bon_dmg=schar.t.MM[8].val*5+(schar.b_Elements?13:0)+(schar.b_impsteady?15:0);
        bon_crit=2*schar.t.SV[7].val;
        crit_dmg=2*schar.t.MM[27].val;
        setBase_cast(cooldown);
        setAct_cast(cooldown);
        Opt_Dmg(schar);
        setDPS(CountDPS());
        setDPM(CountDPM());
    }
}
